<?php
namespace App\Cola\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 账本Dto （导入导出）
 */
#[ExcelData]
class ColaLedgerDto implements MineModelExcel
{
    #[ExcelProperty(value: "id", index: 0)]
    public string $id;

    #[ExcelProperty(value: "标题", index: 1)]
    public string $title;

    #[ExcelProperty(value: "用户id", index: 2)]
    public string $user_id;

    #[ExcelProperty(value: "封面", index: 3)]
    public string $img;

    #[ExcelProperty(value: "是否默认", index: 4)]
    public string $is_default;

    #[ExcelProperty(value: "created_at", index: 5)]
    public string $created_at;

    #[ExcelProperty(value: "updated_at", index: 6)]
    public string $updated_at;

    #[ExcelProperty(value: "deleted_at", index: 7)]
    public string $deleted_at;


}